package com.java.tutorials.spring.ProSpring4.ch3.beanInstantiationMode;

public class Singleton {
    private static Singleton instance;

    static {
        instance = new Singleton(); 
    }

    public static Singleton getInstance() {
        return instance; 
    }
}
